package com.example.gymmanagement.service;

import com.example.gymmanagement.Utils.Result;
import com.example.gymmanagement.domain.Rent;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 13726256113
* @description 针对表【rent】的数据库操作Service
* @createDate 2023-06-09 10:57:22
*/
public interface RentService extends IService<Rent> {

    //新增租借记录
    boolean insert(Rent rent);

    //按id删除租借记录
    boolean delete(Integer id);

    //更新租借记录
    boolean updateRent(Rent rent);

    //模糊查询
    Result select(Integer index, Integer size, Rent rent);
}
